package com.jichaoyun.sys.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jichaoyun.model.entity.LimitAlarm;

import com.jichaoyun.model.vo.LimitAlarmVo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @author ljc
* @description 针对表【limitAlarm】的数据库操作Mapper
* @createDate 2023-11-29 13:50:27
* @Entity com.jichaoyun.sys.entity.Limitalarm
*/
public interface LimitAlarmMapper extends BaseMapper<LimitAlarm> {

    IPage<List<LimitAlarmVo>> selectLimitPage(IPage<List<LimitAlarmVo>> page,
                                              @Param("start_time") String startTime,
                                              @Param("start_time") String endTime,
                                              @Param("line_id") Integer line_id);

    LimitAlarm selectRecentOne(@Param("info") String info, @Param("stationNo") int stationNo);
}




